package com.guiguli.InnerClassDemo1;

public class Car {
     String carName;
     int carAge;
     String carColor;

     public void show(){
         System.out.println(carName);
         Engine e = new Engine();
         System.out.println(e.engineName);
     }

     class Engine{
        String engineName;
        int englineName;

        public void show(){
            System.out.println(engineName);
            System.out.println(carName);
        }
    }

}
